////////////////////////////////////////////////////////////////////////////////
// Copyright 2007 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   POPUP_CATALOG_TREE
// AUTHOR           :   Saint Peng 
// DATE CREATE      :   2007/04/05
// DESCRIPTION      :   a VO file for the function, POPUP_CATALOG_TREE
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2007/04/05   Saint Peng      1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.catalog.catalogTreePopup.vo;

import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Collection;

import com.erp.framework.model.vo.SimplePageEditStyleVo;
import com.erp.framework.model.pk.SimplePageEditStylePk;
import com.erp.app.catalog.catalogTreePopup.pk.PopupCatalogTreePk;
import com.erp.framework.types.CustomBigDecimal;
import com.erp.framework.types.CustomBigInteger;
import com.erp.framework.types.CustomSqlDate;
import com.erp.framework.types.CustomTimestamp;
import com.erp.framework.types.CustomUtilDate;

/**
* <p>A <strong>VO</strong>(Value Object) is a JavaBean which provides property
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this class is to store the data retrieved from the database,
* and the converted data from the web browsers.
*
* @author          Saint Peng 
* @version 1.0     2007/04/05
* @since           FrameWork 1.0
*
*/
public class PopupCatalogTreeVo extends SimplePageEditStyleVo {

	//DB Table Name: T_POPUP_CATALOG_TREE

	//PK Attributes
	private CustomBigInteger nodeId;                 //DB Column Name: NODE_ID

	//Other Attributes
	private String description;                      //DB Column Name: DESCRIPTION
	private CustomBigInteger catalogLevel;           //DB Column Name: CATALOG_LEVEL
	private String createCompanyCode;                //DB Column Name: CREATE_COMPANY_CODE
	private CustomBigInteger waterMark;              //DB Column Name: WATER_MARK
	private CustomBigInteger browser;                //DB Column Name: BROWSER
	private CustomBigInteger level1NodeId;           //DB Column Name: LEVEL_1_NODE_ID
	private CustomBigInteger level2NodeId;           //DB Column Name: LEVEL_2_NODE_ID
	private CustomBigInteger level3NodeId;           //DB Column Name: LEVEL_3_NODE_ID
	private CustomBigInteger parentNodeId;           //DB Column Name: PARENT_NODE_ID
	

	/**
	* Stores the detail child names by the fully-qualified java class path.
	*
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	protected  void setChildTypesName() {
		//this.childTypesName=new String[2];
		//this.childTypesName[0]="com.erp.app.form.beans.FormApprovalListVo";
		//this.childTypesName[1]="com.erp.app.form.beans.FormAttachmentVo";
	}

	/**
	* Stores the table schema name by the fully-qualified java class path.
	*
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	protected void setTableSchemaName() {
		this.tableSchemaName="com.erp.app.catalog.catalogTreePopup.schema.PopupCatalogTreeSchema";
	}

	/**
	* Stores the detail child table schema names by the fully-qualified java class path.
	*
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	protected  void setChildTableSchemaNames() {
		//this.childTableSchemaNames=new String[2];
		//this.childTableSchemaNames[0]="com.erp.app.form.beans.FormApprovalListSchema";
		//this.childTableSchemaNames[1]="com.erp.app.form.beans.FormAttachmentSchema";
	}

	/**
	* Stores the DAO name by the fully-qualified java class path.
	*
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	protected void setDaoName() {
		this.daoName="com.erp.app.catalog.catalogTreePopup.dao.PopupCatalogTreeDao";
	}

	/**
	* Stores the biz logic name by the fully-qualified java class path.
	*
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	protected void setBizLogicName() {
		this.bizLogicName = "com.erp.app.catalog.catalogTreePopup.bizLogic.PopupCatalogTreeBizLogic";
	}

	/**
	* Returns the primary key for this class.
	* @return      primary key of this class
	*
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	public SimplePageEditStylePk getPageEditStylePk() {
		return new PopupCatalogTreePk(this.nodeId);
	}

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	public String toString() {
		String pkStr = "PK: {nodeId = " + this.nodeId + "}\n";

		String colStr = "COL: {description = " + this.description
			+ "\n, catalogLevel = " + this.catalogLevel
			+ "\n, createCompanyCode = " + this.createCompanyCode
			+ "\n, waterMark = " + this.waterMark
			+ "\n, browser = " + this.browser
			+ "\n, level1NodeId = " + this.level1NodeId
			+ "\n, level2NodeId = " + this.level2NodeId
			+ "\n, level3NodeId = " + this.level3NodeId + "}\n";

		return "PopupCatalogTreeVo.toString() is:\n" + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////

	public CustomBigInteger getNodeId() {
		return this.nodeId;
	}

	public String getDescription() {
		return this.description;
	}

	public CustomBigInteger getCatalogLevel() {
		return this.catalogLevel;
	}

	public String getCreateCompanyCode() {
		return this.createCompanyCode;
	}

	public CustomBigInteger getWaterMark() {
		return this.waterMark;
	}

	public CustomBigInteger getBrowser() {
		return this.browser;
	}

	public CustomBigInteger getLevel1NodeId() {
		return this.level1NodeId;
	}

	public CustomBigInteger getLevel2NodeId() {
		return this.level2NodeId;
	}

	public CustomBigInteger getLevel3NodeId() {
		return this.level3NodeId;
	}

	public void setNodeId(CustomBigInteger nodeId) {
		this.nodeId = nodeId;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setCatalogLevel(CustomBigInteger catalogLevel) {
		this.catalogLevel = catalogLevel;
	}

	public void setCreateCompanyCode(String createCompanyCode) {
		this.createCompanyCode = createCompanyCode;
	}

	public void setWaterMark(CustomBigInteger waterMark) {
		this.waterMark = waterMark;
	}

	public void setBrowser(CustomBigInteger browser) {
		this.browser = browser;
	}

	public void setLevel1NodeId(CustomBigInteger level1NodeId) {
		this.level1NodeId = level1NodeId;
	}

	public void setLevel2NodeId(CustomBigInteger level2NodeId) {
		this.level2NodeId = level2NodeId;
	}

	public void setLevel3NodeId(CustomBigInteger level3NodeId) {
		this.level3NodeId = level3NodeId;
	}

	public CustomBigInteger getParentNodeId() {
		return parentNodeId;
	}

	public void setParentNodeId(CustomBigInteger parentNodeId) {
		this.parentNodeId = parentNodeId;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


}